;**********************************************************
;  Microchip Enhanced PIC16F1xxx C Compiler (CC16E), v1.00
;  Sun Jun 20 11:10:02 2021
;**********************************************************

	.device	"pic16e"


	.segment	CODE2 (REL) foo:10
foo_$_n:	.equ	foo_$data$+0
foo_$_m:	.equ	foo_$data$+1
foo_$1_x:	.equ	foo_$data$+2
foo_$2_y:	.equ	foo_$data$+6
foo::
	.bsel	foo_$data$
	moviw	INDF1++
	movwf	foo_$data$+1
	moviw	INDF1++
	movwf	foo_$data$+0
; :: mul.c #4: x = n * m;
	movf	foo_$_n, W
	movwf	112
	movf	foo_$_m, W
	.psel	foo, _mul8
	call	_mul8
	movf	112, W
	movwf	foo_$1_x
	movf	113, W
	movwf	foo_$1_x+1
	clrf	foo_$1_x+2
	clrf	foo_$1_x+3
; :: mul.c #5: x = y * n;
	movf	foo_$2_y, W
	movwf	foo_$1_x
	movf	foo_$2_y+1, W
	movwf	foo_$1_x+1
	movf	foo_$2_y+2, W
	movwf	foo_$1_x+2
	movf	foo_$2_y+3, W
	movwf	foo_$1_x+3
	movf	foo_$_n, W
	movwi	--INDF1
	movlw	0
	movwi	--INDF1
	movwi	--INDF1
	movwi	--INDF1
	movlw	(foo_$1_x)
	movwf	FSR0L
	movlw	(foo_$1_x)>>8
	movwf	FSR0H
	.psel	_mul8, _mul32indf
	call	_mul32indf
	.psel	_mul32indf, foo
	return
; function(s) called::
	.fcall	foo, _mul32indf
	.fcall	foo, _mul8

	.end
